package com.tigerhhzz.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author tigerhhzz
 * @date 2023/4/15 19:16
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String getPaymentInfo_OK(Integer id) {
        return "80---PaymentFallbackService----payment/hystrix/ok";
    }

    @Override
    public String getPaymentInfo_Error(Integer id) {

        return "80----PaymentFallbackService---payment/hystrix/error";
    }

}
